package com.baizhi.cmfz.entity;

import java.io.Serializable;
import java.util.Date;

public class Article implements Serializable {

    private  Integer articleId;//文章id
    private  String articleName;//文章标题
    private  String  articleImage;//文章图片
    private  String articleContent;//文章内容
    private  Guru guru;//上师id
    private Date articleDate;//出版时间
    private  Integer guruId;

    @Override
    public String toString() {
        return "Article{" +
                "articleId=" + articleId +
                ", articleName='" + articleName + '\'' +
                ", articleImage='" + articleImage + '\'' +
                ", articleContent='" + articleContent + '\'' +
                ", guru=" + guru +
                ", articleDate=" + articleDate +
                ", guruId=" + guruId +
                '}';
    }

    public Integer getGuruId() {
        return guruId;
    }

    public void setGuruId(Integer guruId) {
        this.guruId = guruId;
    }

    public Article(Integer articleId, String articleName, String articleImage, String articleContent, Guru guru, Date articleDate) {
        this.articleId = articleId;
        this.articleName = articleName;
        this.articleImage = articleImage;
        this.articleContent = articleContent;
        this.guru = guru;
        this.articleDate = articleDate;
    }

    public Article() {
    }

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public String getArticleName() {
        return articleName;
    }

    public void setArticleName(String articleName) {
        this.articleName = articleName;
    }

    public String getArticleImage() {
        return articleImage;
    }

    public void setArticleImage(String articleImage) {
        this.articleImage = articleImage;
    }

    public String getArticleContent() {
        return articleContent;
    }

    public void setArticleContent(String articleContent) {
        this.articleContent = articleContent;
    }

    public Guru getGuru() {
        return guru;
    }

    public void setGuru(Guru guru) {
        this.guru = guru;
    }

    public Date getArticleDate() {
        return articleDate;
    }

    public void setArticleDate(Date articleDate) {
        this.articleDate = articleDate;
    }
}
